define(function() {
    return ['$scope','$location', '$interval','$timeout','$routeParams', function($scope,$location,$interval,$timeout,$routeParams) {
		$scope.$emit("top-show",'true');//顶部显示
    	$scope.$emit('menuTypeLight','mine'); 	//控制底部menu高亮
    	$scope.$emit('bub-menu','true'); 	//隐藏底部menu
    	$scope.$emit('flag-tag','49');//显示底部文字
    	
    	//默认值
    	$scope.isExpand1 = false,$scope.isExpand2 = false,$scope.isExpand3 = false,$scope.isExpand4 = false,$scope.isExpand5 = false,$scope.isExpand6 = false;

		//点击控制展示
    	$scope.controlShow1 = function(){
    		if($scope.isExpand1){
    			$scope.isExpand1 = false;
    		}else{
    			$scope.isExpand1 = true;
    		}
    	}
    	$scope.controlShow2 = function(){
    		if($scope.isExpand2){
    			$scope.isExpand2 = false;
    		}else{
    			$scope.isExpand2 = true;
    		}
    	}
    	$scope.controlShow3 = function(){
    		if($scope.isExpand3){
    			$scope.isExpand3 = false;
    		}else{
    			$scope.isExpand3 = true;
    		}
    	}
    	$scope.controlShow4 = function(){
    		if($scope.isExpand4){
    			$scope.isExpand4 = false;
    		}else{
    			$scope.isExpand4 = true;
    		}
    	}
    	$scope.controlShow5 = function(){
    		if($scope.isExpand5){
    			$scope.isExpand5 = false;
    		}else{
    			$scope.isExpand5 = true;
    		}
    	}
    	$scope.controlShow6 = function(){
    		if($scope.isExpand6){
    			$scope.isExpand6 = false;
    		}else{
    			$scope.isExpand6 = true;
    		}
    	}
        $scope.$apply();
    }];
});